package top.air.backend.task.model.resp;

import java.io.Serial;
import java.time.*;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import top.continew.starter.extension.crud.model.resp.BaseResp;

/**
 * 设备资源信息
 *
 * @author 文艺倾年
 * @since 2025/03/25 16:25
 */
@Data
@Schema(description = "设备资源信息")
public class DeviceInfoResp extends BaseResp {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 设备名称
     */
    @Schema(description = "设备名称")
    private String name;

    /**
     * 设备类别
     */
    @Schema(description = "设备类别")
    private Integer category;

    /**
     * 管理编号
     */
    @Schema(description = "管理编号")
    private String managementNumber;

    /**
     * 型号
     */
    @Schema(description = "型号")
    private String modelNumber;

    /**
     * 出厂编号
     */
    @Schema(description = "出厂编号")
    private String factoryNumber;

    /**
     * 计量单位
     */
    @Schema(description = "计量单位")
    private Integer measureUnit;

    /**
     * 数量
     */
    @Schema(description = "数量")
    private Integer count;

    /**
     * 状态
     */
    @Schema(description = "状态")
    private String status;

    /**
     * 放置位置
     */
    @Schema(description = "放置位置")
    private String location;

    /**
     * 购置来源
     */
    @Schema(description = "购置来源")
    private String source;

    /**
     * 购置时间
     */
    @Schema(description = "购置时间")
    private LocalDateTime buyDate;

    /**
     * 生产厂家
     */
    @Schema(description = "生产厂家")
    private String manufacturer;

    /**
     * 购置金额
     */
    @Schema(description = "购置金额")
    private Float purchaseAmount;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String mark;

    /**
     * 物资去向
     */
    @Schema(description = "物资去向")
    private Integer destination;
}
